#include "MergeSort.h"
#include<cstdlib>
#include<ctime>

class MergeSortTest{
public:
	MergeSortTest(){
		
		vector<int> datas;
		srand(time(0));
		for (int i = 0; i < 15; i++)
			datas.push_back(10 + rand() % 90);

		MergeSort<int> sort(datas);
		datas = sort.mergeSortList();

		cout << "Sorting results: ";
		for (int i = 0; i < 15; i++)
			cout << datas[i] << " ";

		cout << endl;
	}
};